package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;
import java.sql.*;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_exception_log")
public class ExceptionLog implements Serializable {

    @Id
    @Column(name = "uid")
    private String uid;

    @Column(name = "exception_json")
    private String exceptionJson;
    @Column(name = "exception_message")
    private String exceptionMessage;
    @Column(name = "status")
    private byte status;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
    @Column(name = "ip")
    private String ip;
    @Column(name = "ip_source")
    private String ipSource;
    @Column(name = "method")
    private String method;
    @Column(name = "operation")
    private String operation;
    @Column(name = "params")
    private String params;

}